package com.cans.impl;

import com.cans.api.IUserDao;
import com.cans.dto.CansResult;

/**
 * @author: cans
 * @date: 2018/3/4
 * @description:
 */
public class UserDaoImpl implements IUserDao {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public CansResult save() {

        System.out.println(this.getName() + ": 保存成功!");

        return CansResult.newSuccess();
    }
}
